<template>
  <div id="app">
    <div class="loading-spinner">
      <half-circle-spinner :animation-duration="1200" :size="60" :color="'rgb(0, 90, 158)'"/>
    </div>
    <router-view/>
  </div>
</template>

<script>
import { HalfCircleSpinner } from "epic-spinners";

export default {
  name: "app",
  components: { HalfCircleSpinner }
};
</script>

<style lang="scss">
@import "@/assets/app.scss";

.card-header {
  background-color: transparent;
}

.modal-content {
  border-radius: 2px;
}

.loading-spinner {
  background-color: transparent;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  vertical-align: middle;
  display: none;

  .half-circle-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}
</style>
